package com.ast;

public class PrimaryExpNode {
    ExpNode exp;
    LValNode lVal;
    NumberNode num;
    public PrimaryExpNode(ExpNode exp, LValNode lVal, NumberNode num) {
        this.exp = exp;
        this.lVal = lVal;
        this.num = num;
    }
    public PrimaryExpNode(ExpNode exp) {
        this.exp = exp;
    }
    public PrimaryExpNode(LValNode lVal) {
        this.lVal = lVal;
    }
    public PrimaryExpNode(NumberNode num) {
        this.num = num;
    }

    public ExpNode getExp() {
        return exp;
    }

    public LValNode getlVal() {
        return lVal;
    }

    public NumberNode getNum() {
        return num;
    }
}
